#/usr/bin/python
# -*- coding: utf-8 -*-
import sys
sys.path.append('../../../icafe')

class BC():
    
    def __init__(self,UId,edge=None,constraints={0:None,1:None,2:None,3:None,4:None,5:None},nodelist=None):
        
        self.UId = UId
        self.edge = edge
        self.constraints = constraints
        self.nodelist = nodelist
        
    def getConstraints(self):
        
        return nodes, constraints
    
    def __repr__(self):
        
        return "BC "+ str(self.UId)+ " at edge "+ str(self.edge.UId)
        
        
class AnalyticBC(BC):
    
    def __init__(self,edge=None,analytic_expression=None):
        
        BC.__init__(self,edge)
        
        
class BCCombination(BC):
    
    def __init__(self,UId, edge=None, nodelist=None, bcIds=[]):
        
        super().__init__(UId)
        
        self.bcIds = bcIds  
        